package com.appbee.core.client.htmleditor.design;

import javax.inject.Inject;
import javax.inject.Provider;

import com.appbee.core.client.htmleditor.toolbar.IToolbarStyle;

public class ToolbarStyleProvider implements Provider<IToolbarStyle>
{
	private final DefaultToolbarStyle toolbar;

	@Inject
	public ToolbarStyleProvider(ToolbarResources res)
	{
		toolbar = res.toolbar();
		toolbar.ensureInjected();
	}

	@Override
	public IToolbarStyle get()
	{
		return toolbar;
	}

}
